package com.xbongbong.saas.model;

import com.xbongbong.saas.domain.entity.DingReportEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
/** 
 * @author chenshan
 * @version v1.0
 * @since 2019-08-16 10:49
 */
public interface DingReportModel extends IModel<DingReportEntity> {
 
	public void insertBatch(List<DingReportEntity> dingReportList);

	public Integer save(DingReportEntity entity);

	public DingReportEntity getEntity(Long id, String corpid);

	public Integer deleteByIds(List<Long> ids, String corpid);
	
	public Integer updateBatch(List<DingReportEntity> dingReportList,String corpid);

	public Integer dataConsistencyUpdateUser(String corpid, String userId, String name, String avatar);
    
    public Integer deleteByRecordTime(String corpid, Integer type,String openConversationId,Long recordTimeStart, Long recordTimeEnd);
}